<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .max {
            background-color: antiquewhite;
            font-weight: 400;
            width: 400px;
            height: 500px;
            margin: 100px auto;
        }

        .left {
            float: left;
            background-color: aqua;
            width: 200px;
            height: 500px;
        }

        .right {
            float: right;
            background-color: aquamarine;
            width: 200px;
            height: 500px;
        }
    </style>
</head>

<body>


    <div class="max">
        <div class="left">
            爱国家
        </div>
        <div class="right">
            也爱自己
        </div>
    </div>
</body>

</html>